<template>
  <div class="Home">
    <div class="content">
      <h2 ref="title" class="title">{{ title }}</h2>
    </div>
  </div>
</template>

<script>
export default {
  name: 'Home',
  props: {
    msg: String
  },
  data() {
    return {
      title: 'Hello World ~'
    }
  },
}
</script>

<style scoped>
.Home .content {
  color: red;
}
</style>